<div>
	<form  action="php sources/DangTTSK.php" method="post" enctype="multipart/form-data">
    	<fieldset>          
			<table class="bangdangtin">
				<tr class='legend'>
							<td colspan="2" align="center" >Đăng tin tức mới</td>
						</tr>
				  <tr>
						<td id="firstcol">Tiêu đề</td>
						<!-- TODO: checktieude()-->
						<td><textarea id="tieude" name="tieude" required  /></textarea> <!-- required k duoc bo trong-->
					</tr>
					<tr>
						<td id="firstcol">Ảnh bìa</td>
						<td>
							<label class="file-upload" style='height:25px'>
								<span><strong>Chọn ảnh</strong></span>
								<input type="file" id="anhbia" name="anhbia" accept="image/*" required/>
							</label>
						</td>
					  </tr>
					 <tr>
						<td id="firstcol">Vị trí đăng</td>
						<td><select id="capdo" name="capdo"><option value="Chi Hội">Chi hội</option><option value="Liên Chi">Liên chi</option></select></td>
					  </tr>
					  <tr>
						<td id="firstcol">Thể loại</td>
						<td>
							<select id="theloai" name="theloai" style='width:200px'>
								<?php 
									include("handle/config.php");
									session_start();
									$sql = "SELECT  * FROM THELOAITTSK";
									$result=mysqli_query($con,$sql);
									while($row = mysqli_fetch_array($result))
										echo '<option value="'.$row['MATL'].'">'.$row['TENTL'].'</option>'; ?>
							</select>
						</td>
					  </tr>
					<tr>
						<td  valign="top" id="firstcol" required>Nội dung tin</td><td></td>
					</tr>
					<tr>
						<td colspan='2'  ><textarea class="ckeditor" id="noidungTTSK" name="noidungTTSK" rows="20" cols="200"></textarea></td>
					</tr>
					<tr>
						<td colspan="2" align="right" valign="bottom"><button type="submit" value="Đăng" />Đăng tin</button></td>
					 </tr>
			</table>
                
        </fieldset>
        
    </form> 
	</div>